import request from '@/utils/request'

// 获取验证码
export const code = key => request.get('/manager/captcha', { params: { key }, responseType: 'blob' })

// 登录
export const login = data => request.post('/manager/login', data)

// 查询用户菜单
export const userMeuns = () => request.get('/manager/menus')

// 工作台  查询数据
export const getWorkspace = () => request.get('/manager/workspace')
